package com.yqg.education.service;

import com.yqg.education.entity.Exampaper;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * IExampaperService 服务类
 * @author zxf
 * @since 2025-04-16
 */
public interface IExampaperService extends IService<Exampaper> {
    Map<String,Object> stuFindExampaperPage(Long userId, Long courseId);

    Map<String,Object> findTrueResultPage(Long userId, Long exampaperId);

    Map<String,Object> stuFindTrueResultPage(Long userId, Long courseId);

    /**
     * 后台新增试卷
     * @param exampaper
     */
    void savePaper(Exampaper exampaper);
}
